package com.boe.hbd.server.dao;

import com.boe.hbd.server.model.User;

public class UserDao extends BaseDao {

	private static UserDao instance = new UserDao();

	private UserDao() {
	}

	public static UserDao getInstance() {
		return instance;
	}

	public void add(User user) {
		insert("insertUser", user);
	}

	public User findUser(String snsID) {
		return (User) find("findUser", snsID);
	}

}
